/*  
 * 3.4 Blog
        3.4.1 Blog Single
        3.4.2 Blog list
 * 
 */

//================BLOG PAGE 1 ============//
.blog-page {
    padding-bottom: 115px;
    padding-top: 21px;
    @media (max-width: $screen-md-max) {
        padding-bottom:30px;
    }
}

.widget-blog-collection {
    padding-bottom: 12px;
    padding-top: 20px;
    @media (max-width: $screen-xs-max) {
        padding-bottom: 30px;
        padding-top: 20px;
    }
    @media(min-width: $screen-md) {
        [class*="col-md-"] {
            margin-bottom: 75px;
        }
    }
    @media(max-width: $screen-sm) {
        [class*="col-sm-"] {
            margin-bottom: 30px;
        }
    }
    @media(max-width: $screen-sm) {
        [class*="col-xs-"] {
            margin-bottom: 30px;
        }
    }
}

@media (max-width: $screen-xs-max) {
    .blog-item-ver2 {
        margin-bottom: 30px;
    }
}

.blog-info {
    @extend .prod-info-ver2;
    h3 {
        margin: 15px 0;
    }
    p {
        font: 13px/22px "Open Sans", sans-serif;
        margin-bottom: 14px;
    }
}

.blog-item-img-ver1 {
    position: relative;
    @extend .sub-banner-ver2;
    .text {
        position: absolute;
        left: 40px;
        bottom: 30px;
        @media (max-width: $screen-xs-max) {
            bottom:0;
        }
        h2 {
            a {
                color: $primary-color;
                font: 700 30px/36px $base-font-family;
                &:hover {
                    color: $color-hover;
                }
                @media (max-width: $screen-xs-max) {
                    font: 700 16px/18px "Poppins", sans-serif;
                }
            }
        }
        p {
            color: $primary-color;
            font: 14px $font-custom;
            margin-bottom: 40px;
            @media (max-width: $screen-xs-max) {
                font: 12px/12px "Open Sans", sans-serif;
            }
            @media (max-width: $screen-xs) {
                display: none;
            }
        }
    }
}

.tag {
    ul {
        li {
            display: inline-block;
            border-right: 1px solid #6c6c6c;
            padding: 0 20px;
            a {
                font-size: 12px;
                i {
                    margin-right: 10px;
                }
            }
            &:first-child {
                padding-left: 0;
            }
            &:last-child {
                border-right: 0;
            }
            @media (max-width: $screen-xs-max) {
                padding: 0 10px;
            }
        }
    }
}

//label
.label-blog {
    display: inline-block;
    width: 95px;
    height: 22px;
    font: 10px/22px $font-custom;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    position: absolute;
    left: 40px;
    bottom: 160px;
    z-index: 2;
    background: $bg-color2;
    @include border-radius(4px);
    @media (max-width: $screen-xs-max) {
        bottom: 110px;
    }
    @media (min-width: $screen-sm) and (max-width: 1024px) {
        bottom: 200px;
    }
}

.readmore {
    color: $title-color;
    font: bold 13px/22px $font-custom;
    text-transform: uppercase;
    display: inline-block;
    text-decoration: underline;
}

.top-row-blog-page {
    margin-bottom: 10px;
    @media (max-width: $screen-md-max) {
        margin-bottom:30px;
    }
}

.blog-pagination {
    margin: 0 auto;
    text-align: center;
}

//heading
.heading-blog {
    @extend .heading-v4;
    margin-bottom: 21px;
}

//================SINGLE BLOG PAGE  ============//
.sidebar {
    margin-bottom: 30px;
    padding: 0 28% 0 0;
    box-shadow: none;
    @media (max-width: $screen-sm) {
        padding:0;
    }
    &:before {
        background: #eee;
        content: "";
        height: 100%;
        right: 13%;
        position: absolute;
        top: 0;
        width: 1px;
        @media (max-width: $screen-sm) {
            content: none;
        }
    }
}

.blog-single-page .main-content {
    overflow: hidden;
}

.pull-right .sidebar:before {
    left: 13%;
    right: inherit;
}

@media (min-width:$screen-md) {
    .pull-right .sidebar {
        padding: 0 0 0 27%;
    }
}

.search-v2 {
    margin: 0 0 50px;
}

.search-form-2 {
    @extend .search-form;
    width: 100%;
    .form-control {
        @include border-radius(0px);
        box-shadow: none;
        background-color: transparent;
        border: 1px solid #e8e8e8;
    }
}

.sidebar-right {
    h2 {
        font: 700 20px $base-font-family;
        color: $title-color;
        position: relative;
        margin-bottom: 32px;
        display: inline-block;
        &:before {
            content: "";
            position: absolute;
            width: 60px;
            height: 1px;
            bottom: -13px;
            left: 0;
            border-bottom: 1px dotted #eee;
        }
    }
}

.post-category {
    margin: 0 0 40px;
    ul {
        li {
            padding: 14px 0 15px 20px;
            border-bottom: 1px solid #fff;
            background: #f6f6f6;
            a {
                font-size: 13px;
                font-family: $font-custom;
                &:before {
                    background: #232323;
                    display: block;
                    float: left;
                    content: "";
                    height: 6px;
                    margin: 8px 15px 0 0;
                    width: 6px;
                    @include border-radius(50%);
                }
            }
            &:nth-child(2n+1) {
                background: #fafafa;
            }
        }
    }
}

.post-item-list {
    margin: 0 0 55px;
}

.post-item {
    align-content: stretch;
    display: flex;
    padding-left: 0;
    border-bottom: $border-line;
    padding: 20px 0 20px 0;
    position: relative;
    .post-item-img {
        display: block;
        margin-right: 20px;
    }
    .post-item-text {
        h3 {
            color: #232323;
            font-size: 14px;
            margin: 0 0 15px;
            a {
                color: #232323;
                &:hover {
                    color: $color-hover;
                }
            }
        }
    }
    .tags {
        .date {
            color: #aaa;
            font: 11px $font-custom;
        }
    }
}

.archives {
    margin: 0 0 50px;
    ul {
        li {
            padding: 14px 0 15px 0;
            border-bottom: 1px dotted #eee;
            a {
                font-size: 13px;
                font-family: $font-custom;
                &:before {
                    background: #232323;
                    display: block;
                    float: left;
                    content: "";
                    height: 6px;
                    margin: 8px 15px 0 0;
                    width: 6px;
                    @include border-radius(50%);
                }
            }
        }
    }
}

.tags {
    .tagcloud {
        a {
            border: $border-line;
        }
    }
}

.tag-position {
    display: inline-block;
    font: 13px $font-custom;
    margin: 0 10px 10px 0;
    padding: 5px 17px 5px;
    @include border-radius(3px);
}

.blog-slide-title {
    padding-top: 25px;
    padding-bottom: 30px;
}

.blog-slide-title {
    h2 {
        font-weight: 700;
        font-size: 30px;
        margin-bottom: 10px;
        a {
            color: $title-color;
            &:hover {
                color: $color-hover;
            }
        }
    }
}

.blog-slide-content {
    padding: 25px 0;
    border-top: $border-line;
    border-bottom: $border-line;
}

.text-2 {

    >p {
        font: 13px/22px $font-custom;
        padding-right: 25px;
        &:first-child {
            margin-bottom: 30px;
        }
        &:last-child {
            margin-top: 30px;
            margin-bottom: 60px;
        }
    }
}

.quote {
    padding: 50px 25px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-style: Italic;
    color: #232323;
    &:before {
        content: url(../img/blog/quote-icon.png);
        margin-right: 20px;
        width: 50px;
        height: 50px;
        line-height: 55px;
        text-align: center;
        padding: 0 12px 0;
        border: $border-line;
        @include border-radius(15px);
    }
    p {
        margin-bottom: 0;
    }
}

.blog-share-text {
    font-size: 18px;
    font-style: italic;
    font-family: $font-custom;
}

.blog-connect-social-group {
    @extend .widget-info;
    ul {
        li {
            display: inline-block;
            vertical-align: bottom;
            margin: 0;
            i {
                margin: 0;
                width: 30px;
                height: 30px;
                line-height: 30px;
            }
        }
    }
}

.blog-navigation-links {
    .post-item {
        padding: 65px 0;
    }
    .post-item-img {
        margin-right: 15px;
    }
    .post-item-content {
        h3 {
            font: 700 18px/24px $base-font-family;
            a {
                color: #232323;
                &:hover {
                    color: $color-hover;
                }
            }
        }
    }
}

.blog-navigation-next {
    text-align: right;
    .post-item-img {
        margin-right: 0;
        margin-left: 15px;
    }
}

.post-item-link {
    margin-top: 10px;
    font-size: 14px;
    font-family: $font-custom3;
    a {
        color: #999;
    }
}

.btn-prev:before {
    content: "\f360";
    font-family: ionicons;
    font-size: 16px;
    margin-right: 8px;
}

.btn-next:after {
    content: "\f362";
    font-family: ionicons;
    font-size: 16px;
    margin-left: 8px;
}

.comment {
    @extend .post-item;
    padding: 20px 0;
    border: 0;
}

.comment-child {
    margin-left: 70px;
}

.comment-author-meta {
    strong {
        float: left;
        font: 700 16px $base-font-family;
        text-transform: uppercase;
        color: #232323;
        margin-bottom: 20px;
    }
}

.comment .comment-post-date {
    float: right;
    @extend .tags;
    .date {
        font-size: 12px;
        color: #999;
        margin-right: 18px;
    }
}

.comment-reply {
    @extend .tag-position;
    margin: 0;
    padding: 2px 12px;
    border: $border-main;
    font: 700 12px $base-font-family;
}

.avatar {
    margin-right: 30px;
    float: left;
}


.blog-title {
    font: 700 30px $base-font-family;
    color: #232323;
}

.blog-comment {
    padding: 40px 0;
    border-bottom: 1px dotted #ddd;
}

.blog-comment-list {
    padding-bottom: 10px;
}

.blog-comment-title {
    margin-bottom: 20px;
}

.comment-form {
    .form-group {
        margin-bottom: 30px;
        .form-control {
            background: transparent;
            border-top: transparent;
            border-left: transparent;
            border-right: transparent;
            border-bottom: 1px dotted #ddd;
            box-shadow: none;
            padding-left: 0;
        }
    }
}

textarea#comment {
    height: 100px;
}

.btn-submit-comment {
    @extend .btn-checkout;
    font-weight: 700;
    padding: 12px 35px;
    color: #6bce04;
    border: $border-main;
    background: #fff;
}

.blog-comment-form {
    padding-top: 40px;
    padding-bottom: 100px;
}